package com.javasm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 陪玩用户表(PlayCustomer)实体类
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class WebUserInfo implements Serializable {
    private static final long serialVersionUID = -51480446995059707L;
    /**
     * 用户编号
     */
    private Integer uid;
    /**
     * 用户名
     */
    private String nickname;
    /**
     * 用户vip等级
     */
    private Integer vipGrade;
    /**
     * 贵族级别
     */
    private Integer loadGrade;
    /**
     * 照片墙
     */
    private String customerImgs;
    /**
     * 是否大神用户 0普通用户 1大神用户
     */
    private Integer godStatus;
    /**
     * 粉丝数量
     */
    private Integer fansNum;
    /**
     * IP归属地
     */
    private String ipAddress;

    /**
     * 个人说明
     */
    private String remark;
    /**
     * 喜欢的游戏说明
     */
    private String hobbyGame;
    /**
     * 喜欢的音乐说明
     */
    private String hobbyMusic;
    /**
     * 封停状态
     * 0封停 1正常
     */
    private Integer lockoutStatus;
    /**
     * 解封时间
     */
    private String lockoutTime;

    public WebUserInfo(String nickname, Integer vipGrade, Integer loadGrade, String customerImgs, Integer godStatus, Integer fansNum, String ipAddress, String remark, String hobbyGame, String hobbyMusic, Integer lockoutStatus, String lockoutTime) {
        this.nickname = nickname;
        this.vipGrade = vipGrade;
        this.loadGrade = loadGrade;
        this.customerImgs = customerImgs;
        this.godStatus = godStatus;
        this.fansNum = fansNum;
        this.ipAddress = ipAddress;
        this.remark = remark;
        this.hobbyGame = hobbyGame;
        this.hobbyMusic = hobbyMusic;
        this.lockoutStatus = lockoutStatus;
        this.lockoutTime = lockoutTime;
    }

    public WebUserInfo(Integer uid, Integer lockoutStatus, String lockoutTime) {
        this.uid = uid;
        this.lockoutStatus = lockoutStatus;
        this.lockoutTime = lockoutTime;
    }
}

